import React, { PureComponent } from 'react';
import {NavLink} from 'react-router-dom';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import { object } from 'prop-types';

class Header extends PureComponent {
    constructor(props) {
        super(props)
    }

    render() {
        const headerInfo = 'this is headerInfo';
        return <header className="dfrc" style={{ height: '5vh' }}>
        <span style={{marginRight:30}}>{headerInfo}</span>
        <NavLink to="/auth/login">Login</NavLink>
        </header>
    }
}
export default withRouter(connect()(Header))